#ifndef _XMODEM_H_INCLUDED_
#define _XMODEM_H_INCLUDED_

#define XMODEM_BLOCK_SIZE 128

int xmodem_set_nak_interval(int sec);
long xmodem_recv(char *buf);
int xmodem_recv_block(char *buf, unsigned char block_number, int receiving);
void xmodem_can();

#endif
